package com.cy.zs.hp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cy.zs.hp.common.jsonResult.JsonResult;
import com.cy.zs.hp.model.HisPatient;
import com.cy.zs.hp.model.HisRegister;
import com.cy.zs.hp.model.HisUser;
import com.cy.zs.hp.model.SchedulingTable;
import org.springframework.validation.BindingResult;

import java.util.List;

/**
 * <p>
 * 该表保存注册用户信息 服务类
 * </p>
 *
 * @author cgb2008
 * @since 2020-11-28
 */
public interface IHisUserService extends IService<HisUser> {
    int  insert(HisUser hisUser);
    int login(HisUser hisUser);

    List<SchedulingTable> findWorkTableByDoctorId(Integer id);

    List<HisPatient> addPatient(HisPatient hisPatient);


    Integer addRegister(HisRegister hisRegister);
}
